@import '../../../src/res/theme/xxhz.scss';

.hotel-list-root {
  .back {
    display: inline-block;
    width: 3%;
    vertical-align: middle;
    margin-top: 3%;
    margin-left: 2%;
  }

  .list-header-box-h5 {
    width: 95%;
    padding: 30px;
    box-sizing: border-box;
    display: inline-block;

    .box {
      background-color: #efefef;
      border-radius: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;

      .date-box {
        font-size: 20px;
        padding-left: 10px;
        padding-right: 20px;
        border-right: solid 1px #cccccc;
        line-height: 1.2;

        .date-item {
          .tips {
            color: #666666;
            padding-right: 8px;
          }
        }
      }

      .input-box {
        flex-grow: 1;
        font-size: 26px;
        padding-left: 20px;
      }

      .btn-box {
        padding-left: 30px;

        .search {
          font-size: 26px;
          background-color: $mainColor;
          color: white;
          padding: 10px 26px;
          border-radius: 10px;
        }
      }
    }
  }

  .list-header-box {
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
    display: inline-block;

    .box {
      background-color: #efefef;
      border-radius: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px;

      .date-box {
        font-size: 20px;
        padding-left: 10px;
        padding-right: 20px;
        border-right: solid 1px #cccccc;
        line-height: 1.2;

        .date-item {
          .tips {
            color: #666666;
            padding-right: 8px;
          }
        }
      }

      .input-box {
        flex-grow: 1;
        font-size: 26px;
        padding-left: 20px;
      }

      .btn-box {
        padding-left: 30px;

        .search {
          font-size: 26px;
          background-color: $mainColor;
          color: white;
          padding: 10px 26px;
          border-radius: 10px;
        }
      }
    }
  }

  .drawer {
    width: 100%;
    overflow: visible;

    .title {
      padding: 20px;
      box-sizing: border-box;
      background-color: #efefef;
      font-size: 28px;
    }

    .content {
      box-sizing: border-box;
      padding-bottom: 60px;
      // display: flex;
      // justify-content: space-between;
      width: 100%;

      // .category-box{
      //     width: 20%;
      // }
      .select-box {
        width: 100%;

        .price-diy {
          display: flex;
          align-items: center;
          justify-content: space-between;
          box-sizing: border-box;
          padding: 40px 40px;

          .price-input {
            width: 40%;
            border: solid 1Px #efefef;
            line-height: 40px;
            font-size: 24px;
            height: 40px;
            border-radius: 10px;
            box-sizing: border-box;
            padding: 2px 10px;
          }

          .input-place {
            color: #e6e7e9;
          }
        }
      }
    }

    .footer-btn {
      position: sticky;
      width: 100%;
      bottom: 0;
      display: flex;
      padding: 30px;
      box-sizing: border-box;
      border-top: solid 1Px #efefef;
      background-color: white;
      justify-content: space-between;

      .btn {
        width: 45%;
        text-align: center;
        line-height: 70px;
        font-size: 28px;
        border-radius: 10px;
      }

      .reset {
        // background-color: #ffda9a;
        border: 1Px solid #efefef;
        color: $mainColor;
      }

      .submit {
        background-color: $mainColor;
        color: white;
      }
    }
  }

  .screen-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-sizing: border-box;
    font-size: 26px;
    line-height: 40px;

    .left-box {
      display: flex;
      align-items: center;
      flex: 1;

      .order-item {
        width: 25%;
        border-right: solid 1Px #efefef;
        text-align: center;
      }

      .order-item:last-child {
        border: none;
      }
    }

    .right-box {
      .btn {
        padding: 4px 8px;
      }

      .btn-hover {
        background-color: #efefef;
      }
    }

    .xxhz-xiala-copy1 {
      font-size: 30px;
    }

    .xxhz-arrow-up {
      font-size: 30px;
    }
  }

  .big-goods-box {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    padding-top: 0;
    background-color: #fff;

    .good-item {
      width: 100%;
      display: flex;
      padding: 20px 0;
      border-bottom: solid 1Px #efefef;

      .img-box {
        width: 270px;
        height: 220px;
        border-radius: 10px;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;

        .tips {
          width: 140px;
          // height: 48px;
          background-color: rgba(0, 0, 0, 0.46);
          color: white;
          font-size: 20px;
          text-align: center;
          line-height: 40px;
          position: absolute;
          top: 0;
          left: 0;
          border-bottom-right-radius: 10px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          padding: 0 10px;
          max-width: 80%;
        }

        .img {
          width: 270px;
          height: 220px;
          display: block;
        }
      }

      .right {
        box-sizing: border-box;
        padding-left: 20px;
        flex-grow: 1;
        //display: flex;
        //flex-direction: column;
        justify-content: space-between;
        position: relative;

        .top {
          width: 100%;
          margin-bottom: 20px;
        }

        .middle {
          display: flex;

          .middle-tag {
            height: 40px;
            font-size: 24px;
            line-height: 40px;
            padding: 0px 10px;
            border-radius: 6px;
            background-color: #fef8ef;
            color: #df772c;
            border: 1px solid #f0c3a2;
          }

        }

        .title {
          font-weight: 900;
          font-size: 30px;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          /*! autoprefixer: ignore next */
          -webkit-box-orient: vertical;
          /* autoprefixer: on */
          text-overflow: ellipsis;
          overflow: hidden;
          word-break: break-all;
        }

        .labels {
          font-size: 18px;
          color: $mainColor;
          padding-top: 14px;

          .label {
            margin-right: 10px;
            border: solid 1px $mainColor;
            padding: 2px 6px;
            border-radius: 8px;
          }
        }

        .snapped-up-look {
          margin-top: 20px;
          width: 160px;
          padding: 8Px 4Px;
          display: flex;
          align-items: center;
          justify-content: center;
          border-radius: 32px;
          text-align: center;
          color: #000;
          font-weight: bold;
          background: #ffdd09;
          font-size: 22px;
        }

        .count {
          font-size: 28px;
          color: #888888;
          margin-top: 6Px;
        }

        .price-box {
          display: flex;
          justify-content: space-between;
          align-items: center;
          position: absolute;
          bottom: 0;

          .price {
            font-size: 18px;
            color: #888888;

            .symbol {
              font-size: 20px;
              color: $color-price;
            }

            .number {
              font-size: 36px;
              color: $color-price;
              padding: 0 6px;
            }
          }
        }
      }
    }

    .good-item:last-child {
      border-bottom: none;
    }

  }

}
